home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: SOM & Streams
- Sent: 7/1/96 6:32 AM
- Received: 7/1/96 8:35 AM
- From: Scott Daniels, scottdfl@sprynet.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Mark,
-
- Thanks for the info, I have enough to go on now. However, I am still
- puzzled as to why the wrapper class is needed, and why there can be only
- one? How does this work & why?
-
- Thanks again,
-
- Scott
-
- ----------
- > From: Mark Lanett <mlanett@meer.net>
- > To: OpenDoc Development Framework Discussion List
- <ODF-Interest@CILabs.ORG>
- > Subject: Re: SOM & Streams
- > Date: Friday, June 28, 1996 5:22 PM
- >
- > You only need acquisition objects for refcounted SOM objects. FW_OSink
- > isn't refcounted, so you can just use it (you don't need to call Release
- or
- > anything).
- >
- > SOM is transparent to call into; it just happens that many of OpenDoc's
- SOM
- > objects are refcounted. Refcounted objects must be referred to using
- > acquisition objects in order to be exception-safe, irregardless of
- whether
- > they have a C++ or SOM interface.
- >
- > At 1:59 PM 6/28/96, Scott Daniels wrote:
- > >I am afraid to even touch SOM objects since I was under the impression
- > >that you had to get Acquisition objects for them, etc. I am also
- puzzled
- > >by the fact that there can only be one wrapper class for the OSink, so
- > >after creating it, we can only deal with the OSink? Why have a wrapper
- > >class at all? This all probably sounds pretty stupid for the SOM savvy,
- > >but to non-SOM-literate like me I am confused, especially since SOM was
- > >advertised as being transparent to C++ as far as using it, but it
- appears
- > >to be really nasty. Can anyone enlighten me?
- >
- >
- > --
- > Mark Lanett, OpenDoc Framework, Apple Computer
-